﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="RubbishDataList.aspx.cs" Inherits="Ewts.Storage.RubbishDataList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link rel="stylesheet" href="/css/tab4.css" type="text/css" />
         <link type="text/css" href="/css/autocomplete.css" rel="stylesheet" />
         <script type="text/javascript" src="/jquery/jquery.autocomplete.js"></script>
         <link type="text/css" href="/css/tab1.css" rel="stylesheet" />
           <link type="text/css" href="/css/tab2.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
    <h2>危废列表</h2>
     归属地：
    <asp:DropDownList ID="dropBelong" runat="server"  AutoPostBack="true" 
        onselectedindexchanged="dropBelong_SelectedIndexChanged">
        <asp:ListItem Text="上海" Value="上海" Selected="True"></asp:ListItem>
        <asp:ListItem Text="北京" Value="北京"></asp:ListItem>
        <asp:ListItem Text="广州" Value="广州"></asp:ListItem>
        <asp:ListItem Text="苏州" Value="苏州"></asp:ListItem>
    </asp:DropDownList>
<br />
<div class="shadow2">
    <table id="tab" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
    <thead>
    <tr>
        <th>Load号</th>
        <th>客户代码</th>
        <th>客户名称</th>
        <th>收集日期</th>
        <th>仓库LTR总重量</th>
        <th>危废代码</th>
        <th>危废名称</th>
        <th>危废重量</th>
        <th>联单号</th>
        <th>告知单重量</th>
        <th>备注</th>
        <th>操作</th>
    </tr>
    </thead>
    <asp:Repeater ID="reptRubbish" runat="server">
        <ItemTemplate>
        <tr>
            <td><%# Eval("loadnum")%></td>
            <td><%# Eval("customercode")%></td>
            <td><%# Eval("companyname")%></td>
            <td><%# DateTime.Parse(Eval("collectdate").ToString()).ToString("yyyy-MM-dd") %></td>
            <td><%# Eval("totalWeight")%></td>
            <td><%# Eval("rubbiscode")%></td>
            <td><%# Eval("rubbisname")%></td>
            <td><%# Eval("rubbWeight") %></td>
            <td><%# Eval("LDH")%></td>
            <td><%# Eval("rubbWeight") %></td>
            <td><%# Eval("Remark")%></td>
            <td>
                <a href='RubbishData.aspx?loadid=<%# Eval("id") %>&mode=<%# GetModePar(Eval("id").ToString()) %>'>
                    <%# GetModeStr(Eval("modelstatus").ToString())%>
                </a>
            </td>
           
        </tr>
        </ItemTemplate>
    </asp:Repeater>
    
   </table>
 
</div>
   <script type="text/javascript">

       $(document).ready(function () {

           $('#tab').dataTable({ "oLanguage":
                 { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
               "bJQueryUI": true,
               "sPaginationType": "full_numbers",
               'bPaginate': true,
               "bProcessing": true,
               "iDisplayLength": 20,
               "bSort": true,
               "aaSorting": [[0, "asc"]]
           });

       });
 
</script>
</asp:Content>
